//package com.plian.system.wrapper.dp;
//
//import com.plian.system.dto.dp.InvestigateUnhealthyDTO;
//import com.plian.system.entity.dp.InvestigateUnhealthy;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.dp.InvestigateUnhealthyVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.*;
//
///**
// * 查处群众身边的不正之风和腐败问题情况包装类,返回视图层所需的字段
// *
// * @author jianglei
// * @since 2019-12-03
// */
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface InvestigateUnhealthyWrapper extends BaseWrapper<InvestigateUnhealthy, InvestigateUnhealthyDTO, InvestigateUnhealthyVO> {
//
//	@Override
//	@Mappings(value = {
//			@Mapping(source = "createUser", target = "createUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "updateUser", target = "updateUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "approvedUser", target = "approvedUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "fillingUnitId", target = "fillingUnitName", qualifiedByName = ORG_ID_TO_NAME),
//			@Mapping(source = "rankId", target = "rankName", qualifiedByName = DICT_CODE_TO_NAME),
//			@Mapping(source = "partyDisciplineId", target = "partyDisciplineName", qualifiedByName = DICT_CODE_TO_NAME),
//			@Mapping(source = "disciplinarySanctionsId", target = "disciplinarySanctionsName", qualifiedByName = DICT_CODE_TO_NAME),
//			@Mapping(source = "tissueManagementId", target = "tissueManagementName", qualifiedByName = DICT_CODE_TO_NAME),
//			@Mapping(source = "genderId", target = "genderName", qualifiedByName = DICT_CODE_TO_NAME),
//	})
//	InvestigateUnhealthyVO entityToVO(InvestigateUnhealthy entity);
//
//
//}
